package cn.dao;

import cn.domain.User;

import java.util.List;

public interface UserDao {
    public List<User> findAll();
    public User FindUserByUsernameAndPassword(String username,String password);
    public void addUser(User user);
    public void deleteUser(int id);
    public User findUserByid(int id);
    public void updateUser(User user);
}
